package com.xtaller.easy.admin.specification;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.validation.constraints.*;

/**
 * Created by Taller on 2018/4/14
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value ="创建权限按钮")
public class ButtonCreate {
    @ApiModelProperty(value = "按钮名称")
    private String name;
    @ApiModelProperty(value = "执行函数")
    private String fun;
    @ApiModelProperty(value = "是否是按钮 1是 0否")
    private Integer isBtn = 1;
    @ApiModelProperty(value = "图标class")
    private String icon;
    @ApiModelProperty(value = "备注信息")
    private String remark;
    @ApiModelProperty(value = "请求类型")
    private Integer Method;
    @ApiModelProperty(value = "排序")
    private Integer sort;

    public Integer getIsBtn() {
        return isBtn;
    }

    public void setIsBtn(Integer isBtn) {
        this.isBtn = isBtn;
    }

    public Integer getMethod() {
        return Method;
    }

    public void setMethod(Integer method) {
        Method = method;
    }

    public String getFun() {
        return fun;
    }

    public void setFun(String fun) {
        this.fun = fun;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }
}
